'Declaration<JetBrains.Annotations.NotNullAttribute()> Public Overloads Function ToGoodValueResult(Of TValue)( _ ByVal exceptionTransformingFunction As Func(Of Exception,Exception) _ ) As ValueResult(Of TValue)
'UsageDim instance As UAAttributeDataResult Dim exceptionTransformingFunction As Func(Of Exception,Exception) Dim value As ValueResult(Of TValue) value = instance.ToGoodValueResult(Of TValue)(exceptionTransformingFunction)
[JetBrains.Annotations.NotNull()] public ValueResult<TValue> ToGoodValueResult<TValue>( Func<Exception,Exception> exceptionTransformingFunction )
[JetBrains.Annotations.NotNull()] public: ValueResult<TValue^>^ ToGoodValueResultgeneric<typename TValue> ( Func<Exception^,Exception^>^ exceptionTransformingFunction )
Parameters
- exceptionTransformingFunction
- A function to transform exceptions before including them in the result.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Type Parameters
- TValue
- The target type for the value.
Return Value
This method never returns null (Nothing in Visual Basic).